package Test6;

public class Test {
    public static void main(String[] args) {
        Figure figure=new Trapezoid(2,3,5,3,3);
        figure.perimeter();
        figure.area();
        figure=new Rectangle(5,7);
        figure.perimeter();
        figure.area();
        figure=new Rhomboid(5,4,3);
        figure.perimeter();
        figure.area();
        figure=new Circle(4);
        figure.perimeter();
        figure.area();
    }
}
